package model;

import util.Toolsutil;



/**
 * TRolebutton entity. @author MyEclipse Persistence Tools
 */

public class TRolebutton implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer buttonid;
	private Integer roleid;
	private String createdate;

	// Constructors

	/** default constructor */
	public TRolebutton() {
	}

	/** full constructor */
	public TRolebutton(Integer buttonid, Integer roleid, String createdate) {
		this.buttonid = buttonid;
		this.roleid = roleid;
		this.createdate = createdate;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getButtonid() {
		return this.buttonid;
	}

	public void setButtonid(Integer buttonid) {
		this.buttonid = buttonid;
	}

	public Integer getRoleid() {
		return this.roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}

	public String getCreatedate() {
		return Toolsutil.GetDateFormat(createdate);
	}

	public void setCreatedate(String createdate) {
		this.createdate = createdate;
	}

}